package com.yanqu.road.entity.zhaoshang;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_c_zs_project_addition")
public class ZsProjectAdditionData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "项目id")
    private long projectId;

    @FieldTypeAnnotation(desc = "藏品加成")
    private int curioAddition;

    private int openTime;        //立项时间(秒)

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        if(this.projectId != projectId) {
            this.projectId = projectId;
            setUpdateOption();
        }
    }

    public int getCurioAddition() {
        return curioAddition;
    }

    public void setCurioAddition(int curioAddition) {
        if(this.curioAddition != curioAddition) {
            this.curioAddition = curioAddition;
            setUpdateOption();
        }
    }

    public int getOpenTime() {
        return openTime;
    }

    public void setOpenTime(int openTime) {
        if(this.openTime != openTime) {
            this.openTime = openTime;
            setUpdateOption();
        }
    }
}
